package ctrLag;
import modelLag.*;

/**
 * Controller for customer
 * 
 * @author (Christian, Umut, Christoffer, Patrick, Simon) 
 * @project (Semesterprojekt)
 * @version (2014.12.09)
 */
public class CustomerCtr
{
    private CustomerCon cCon;
    
    /**
     * Constructor for objects of class CustomerCtr
     */
    public CustomerCtr(){
        cCon = CustomerCon.getInstance();
    }
    
    /**
     * Finds a specific customer based on phone number
     * 
     * @param phone the phone of the customer
     */
    public Customer findCustomer(String phone){
        return cCon.findCustomer(phone);
    }
    
}
